Understanding The Social Media Algorithm